package org.linlinjava.litemall.db.service;

import com.github.yulichang.base.MPJBaseServiceImpl;
import org.linlinjava.litemall.db.dao.LumiereCouponUserMapper;
import org.linlinjava.litemall.db.domain.LumiereCouponUser;
import org.linlinjava.litemall.db.dto.WxCountUserCouponsDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LumiereCouponUserService extends MPJBaseServiceImpl<LumiereCouponUserMapper, LumiereCouponUser> {
    public List<WxCountUserCouponsDTO> countUserCoupons(Integer userId) {
        return baseMapper.countUserCoupons(userId);
    }
}
